import request from "@/utils/scan_login_request";

// 后台微信登录展示二维码接口
export function scan_info(data) {
  return request({
    url: "/info",
    method: "post",
    data: data
  });
}

// 后台登录轮询接口
export function code_status(data) {
  return request({
    url: "/code_status",
    method: "post",
    data: data
  });
}
// 判断是绑定微信还是改绑微信
export function bind_or_change(params) {
  return request({
    url: "/yz_password",
    method: "get",
    params
  });
}
// 后台绑定微信时密码验证
export function yz_password(data) {
  return request({
    url: "/yz_password",
    method: "post",
    data: data
  });
}

// 后台绑定微信轮询接口
export function query_bind_info(data) {
  return request({
    url: "/band/info",
    method: "post",
    data: data
  });
}
